laravel auth user_id

41

use Auth;
$user_id = Auth::user()->id;
$userId = Auth::id();
// Get the currently authenticated user's ID...
$id = Auth::id();

Comments

Submit
0 Comments